package cn.rocky.pandacodegen.service.impl;

import cn.rocky.pandacodegen.domain.entity.TableInfo;
import cn.rocky.pandacodegen.mapper.TableInfoMapper;
import cn.rocky.pandacodegen.service.TableInfoService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class TableInfoServiceImpl implements TableInfoService {

    private final TableInfoMapper tableInfoMapper;

    @Override
    public List<TableInfo> listAll() {
        return tableInfoMapper.listAll();
    }

}
